
import 'package:flutter/material.dart';

class MallListPage extends StatefulWidget {
  final String listStr;
  MallListPage(this.listStr);

  @override
  State<StatefulWidget> createState() {
    return _MallListPage();
  }
}

class _MallListPage extends State<MallListPage> {

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text(
          'list',
          style: TextStyle(
            color: Colors.black,
            fontSize: 18,
          ),
        ),
      ),
      body: Container(
        color: Colors.red,
        alignment: Alignment.center,
        child: Text(
          widget.listStr,
          style: TextStyle(
            color: Colors.white,
            fontSize: 20,
          ),
        ),
      ),

    );
  }
}
